#ifndef _CSETINTATTRIBUTECOMMAND_H_
#define _CSETINTATTRIBUTECOMMAND_H_

#include "IDoUndoCommand.h"

class CSetIntAttributeCommand : public IDoUndoCommand
{
public:
	CSetIntAttributeCommand (int id, stringc name, int newValue);

	void redo ();
	void undo ();

	static void CheckGridWayPointConnections(int id, stringc propName, int oldValue, int newValue);

private:
	int m_id;
	stringc m_name;
	int m_oldValue;
	int m_newValue;
};

#endif
